import { App } from 'vue'
import {
  Button,
  NavBar,
  Form,
  Field,
  CellGroup,
  Cell,
  Toast,
  Dialog,
  Tabs,
  Tab,
  Picker,
  Popup,
  Icon,
  Uploader,
  Loading,
  Overlay,
  PickerGroup,
  ActionSheet
} from 'vant'
import 'vant/lib/index.css'

export function vantPlugins(app: App) {
  app.use(Button)
  app.use(NavBar)
  app.use(Form)
  app.use(Field)
  app.use(CellGroup)
  app.use(Cell)
  app.use(Toast)
  app.use(Dialog)
  app.use(Tabs)
  app.use(Tab)
  app.use(Picker)
  app.use(Popup)
  app.use(Icon)
  app.use(Uploader)
  app.use(Loading)
  app.use(Overlay)
  app.use(PickerGroup)
  app.use(ActionSheet)
}


